<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>定位</title>
	<style type="text/css">

		.box{
			width: 800px;
			height: 3000px;
			background: red url() 0 0 no-repeat;
			margin-top: 200px;
			/*position: relative;*/
		}
		.son{
			width: 200px;
			height: 200px;
			background:#FFF200 url() 0 0 no-repeat;
			/*float: left;
			position: relative;
			top:10px;
			left: 10px;
			position: absolute;
			top:50px;
			left: 100px;
			z-index: 2;*/
		}

		.son1{
			width: 600px;
			height: 200px;
			background: #3F48CC url() 0 0 no-repeat;
			/*position: relative;
			float: left;
			z-index: 1;*/
		}
		.son2{
			width: 50px;
			height: 500px;
			background: #A349A4 url() 0 0 no-repeat;
			position: fixed;
			bottom:0px;
			right: 0px;
		}

	</style>
</head>
<body>
	<div class="box">
		
		<div class="son">
			1
		</div>
		<div class="son1">
			2
		</div>
		<div class="son2">
			
		</div>
	</div>
	
</body>
</html>